package com.bdf.ipharma.starter;


/**
 * This class handles errors
 * 
 * IPHARMA 2011
 * @author jmazzetti
 */
public class McdError extends Object
{
  /**
   * Constructor
   */
  public McdError()
  {
  }

  /**
   * Adds an error to error logger
   * @param pE an exception
   */
  public static void add( Exception pE )
  {
    pE.printStackTrace();
  }

  /**
   * Adds a string error to error logger
   * @param pError string message of the error
   */
  public static void add( String pError )
  {
    System.out.println( pError );
  }

}